import { createApp } from 'vue';
import assessRank from './assessRank';

const showAssessRank = (data, config) => {
    const app = createApp(assessRank);
    const container = document.createElement('div');
    document.body.appendChild(container);
    const instance = app.mount(container);
    return instance.show(data, config);
};

export default showAssessRank;